@keyframes spinner {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }
  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }
  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}

/* Animations */
@keyframes hamster {
  from,
  to {
    transform: rotate(4deg) translate(-0.8em, 1.85em);
  }
  50% {
    transform: rotate(0) translate(-0.8em, 1.85em);
  }
}

@keyframes hamsterHead {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(8deg);
  }
}

@keyframes hamsterEye {
  from,
  90%,
  to {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0);
  }
}

@keyframes hamsterEar {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(12deg);
  }
}

@keyframes hamsterBody {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(0);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-2deg);
  }
}

@keyframes hamsterFRLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(50deg) translateZ(-1px);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-30deg) translateZ(-1px);
  }
}

@keyframes hamsterFLLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(-30deg);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(50deg);
  }
}

@keyframes hamsterBRLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(-60deg) translateZ(-1px);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(20deg) translateZ(-1px);
  }
}

@keyframes hamsterBLLimb {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(20deg);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(-60deg);
  }
}

@keyframes hamsterTail {
  from,
  25%,
  50%,
  75%,
  to {
    transform: rotate(30deg) translateZ(-1px);
  }
  12.5%,
  37.5%,
  62.5%,
  87.5% {
    transform: rotate(10deg) translateZ(-1px);
  }
}

@keyframes spoke {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(-1turn);
  }
}

.switch {
  transform: scale(0.7);
  transform-origin: left;
  font-size: 17px !important;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

.switch input {
  opacity: 0;
  width: 0;
}

.switch input:checked + .slider {
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: none;
}

.switch input:checked + .slider:before {
  background-color: #0077ff;
  transform: translateX(2.8em) rotate(360deg);
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cccccc4d;
  box-shadow: inset 1px 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  border-radius: 5px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 0.1em;
  border-radius: 0px;
  left: 0.3em;
  bottom: 0.3em;
  background-color: white;
  transition: 0.4s;
}

.input.mine {
  transform-origin: left;
  border: none;
  outline: none;
  border-radius: 5px;
  padding: 0.5em;
  background-color: #cccccc4d;
  box-shadow: inset 1px 2px 10px rgba(0, 0, 0, 0.1);
  transition: 300ms ease-in-out;
}

.input.mine:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
  box-shadow: none;
}

.input.mine::-webkit-outer-spin-button, .input.mine::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

.textarea {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  height: 100%;
}

.textarea .label {
  position: absolute;
  line-height: 30px;
  padding-left: 10px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  transition: all 0.2s ease;
  left: 0;
  top: 0;
  display: inline-block;
  width: 100% !important;
  box-sizing: border-box;
}

.textarea textarea {
  appearance: none;
  height: 100%;
  box-sizing: border-box;
  border: 0;
  font-family: inherit;
  padding: 34px 12px 0 12px;
  font-weight: 400;
  background-color: #cccccc4d;
  box-shadow: inset 1px 2px 10px rgba(0, 0, 0, 0.1);
  color: #000;
  transition: all 0.15s ease;
}

.textarea textarea::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
}

.textarea textarea:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
  box-shadow: none;
}

.textarea textarea:focus + .label {
  color: #0077ff;
  background-color: #eddfcc;
  border-bottom: 1px solid #0077ff;
}

.wheel-and-hamster {
  --dur: 1s;
  position: relative;
  width: 12em;
  height: 12em;
  font-size: 14px;
}

.wheel-and-hamster .wheel,
.wheel-and-hamster .hamster,
.wheel-and-hamster .hamster div,
.wheel-and-hamster .spoke {
  position: absolute;
}

.wheel-and-hamster .wheel,
.wheel-and-hamster .spoke {
  border-radius: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wheel-and-hamster .wheel {
  background: radial-gradient(100% 100% at center, rgba(153, 153, 153, 0) 47.8%, #999999 48%);
  z-index: 2;
}

.wheel-and-hamster .hamster {
  animation: hamster var(--dur) ease-in-out infinite;
  top: 50%;
  left: calc(50% - 3.5em);
  width: 7em;
  height: 3.75em;
  transform: rotate(4deg) translate(-0.8em, 1.85em);
  transform-origin: 50% 0;
  z-index: 1;
}

.wheel-and-hamster .hamster__head {
  animation: hamsterHead var(--dur) ease-in-out infinite;
  background: #f48c25;
  border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
  box-shadow: 0 -0.25em 0 #facc9e inset, 0.75em -1.55em 0 #fce6cf inset;
  top: 0;
  left: -2em;
  width: 2.75em;
  height: 2.5em;
  transform-origin: 100% 50%;
}

.wheel-and-hamster .hamster__ear {
  animation: hamsterEar var(--dur) ease-in-out infinite;
  background: #fbb6b6;
  border-radius: 50%;
  box-shadow: -0.25em 0 #f48c25 inset;
  top: -0.25em;
  right: -0.25em;
  width: 0.75em;
  height: 0.75em;
  transform-origin: 50% 75%;
}

.wheel-and-hamster .hamster__eye {
  animation: hamsterEye var(--dur) linear infinite;
  background-color: black;
  border-radius: 50%;
  top: 0.375em;
  left: 1.25em;
  width: 0.5em;
  height: 0.5em;
}

.wheel-and-hamster .hamster__nose {
  background: #f98686;
  border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
  top: 0.75em;
  left: 0;
  width: 0.2em;
  height: 0.25em;
}

.wheel-and-hamster .hamster__body {
  animation: hamsterBody var(--dur) ease-in-out infinite;
  background: #fce6cf;
  border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
  box-shadow: 0.1em 0.75em 0 #f48c25 inset, 0.15em -0.5em 0 #facc9e inset;
  top: 0.25em;
  left: 2em;
  width: 4.5em;
  height: 3em;
  transform-origin: 17% 50%;
  transform-style: preserve-3d;
}

.wheel-and-hamster .hamster__limb--fr, .wheel-and-hamster .hamster__limb--fl {
  clip-path: polygon(0 0, 100% 0, 70% 80%, 60% 100%, 0% 100%, 40% 80%);
  top: 2em;
  left: 0.5em;
  width: 1em;
  height: 1.5em;
  transform-origin: 50% 0;
}

.wheel-and-hamster .hamster__limb--fr {
  animation: hamsterFRLimb var(--dur) linear infinite;
  background: linear-gradient(#facc9e 80%, #f98686 80%);
  transform: rotate(15deg) translateZ(-1px);
}

.wheel-and-hamster .hamster__limb--fl {
  animation: hamsterFLLimb var(--dur) linear infinite;
  background: linear-gradient(#fce6cf 80%, #fbb6b6 80%);
  transform: rotate(15deg);
}

.wheel-and-hamster .hamster__limb--br, .wheel-and-hamster .hamster__limb--bl {
  border-radius: 0.75em 0.75em 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 70% 90%, 70% 100%, 30% 100%, 40% 90%, 0% 30%);
  top: 1em;
  left: 2.8em;
  width: 1.5em;
  height: 2.5em;
  transform-origin: 50% 30%;
}

.wheel-and-hamster .hamster__limb--br {
  animation: hamsterBRLimb var(--dur) linear infinite;
  background: linear-gradient(#facc9e 90%, #f98686 90%);
  transform: rotate(-25deg) translateZ(-1px);
}

.wheel-and-hamster .hamster__limb--bl {
  animation: hamsterBLLimb var(--dur) linear infinite;
  background: linear-gradient(#fce6cf 90%, #fbb6b6 90%);
  transform: rotate(-25deg);
}

.wheel-and-hamster .hamster__tail {
  animation: hamsterTail var(--dur) linear infinite;
  background: #fbb6b6;
  border-radius: 0.25em 50% 50% 0.25em;
  box-shadow: 0 -0.2em 0 #f98686 inset;
  top: 1.5em;
  right: -0.5em;
  width: 1em;
  height: 0.5em;
  transform: rotate(30deg) translateZ(-1px);
  transform-origin: 0.25em 0.25em;
}

.wheel-and-hamster .spoke {
  animation: spoke var(--dur) linear infinite;
  background: radial-gradient(100% 100% at center, #999999 4.8%, rgba(153, 153, 153, 0) 5%), linear-gradient(rgba(140, 140, 140, 0) 46.9%, #a6a6a6 47% 52.9%, rgba(166, 166, 166, 0) 53%) 50% 50%/99% 99% no-repeat;
}

.mainbox {
  height: 100%;
  background-color: antiquewhite;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mainbox .rowitem {
  display: flex;
  align-items: center;
  height: 30px;
}

.mainbox .rowitem .label {
  width: 100px;
  flex-shrink: 0;
}

.mainbox .rowitem .value {
  font-size: 10px;
}

.mainbox .author {
  text-align: right;
  color: #666;
  margin: 0;
}
